package www;
//Description:数据结构顺序表
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * Creared with IntelliJ IDEA.
 * Description:
 * User:yxd
 * Date:2022-01-02
 * Time:22:42
 */
class MyArrayList<E>{
    private Object[] elementData;
    public int Usedsize;
    public MyArrayList(){
        this.elementData = EMPTY_ELEMENTDATA;
    }
    private static final Object[] EMPTY_ELEMENTDATA = {};

}
public class Demo {
    public static void main(String[] args) {
        ArrayList<String> arrayList = new ArrayList<>();
        List<String> arrayList2 = new ArrayList<>();//方法更多



    }
}
